package com.itheima.domain;

import java.io.Serializable;

/*
    膳食类
 */
public class Food implements Serializable {
    private Integer id;
    private String name;//膳食名称
    private String serialNumber;//膳食编号
    private String consumption;//食用量
    private String applicableAge;//适用年龄

    public Food() {
    }

    public Food(String name, String serialNumber, String consumption, String applicableAge) {
        this.name = name;
        this.serialNumber = serialNumber;
        this.consumption = consumption;
        this.applicableAge = applicableAge;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getConsumption() {
        return consumption;
    }

    public void setConsumption(String consumption) {
        this.consumption = consumption;
    }

    public String getApplicableAge() {
        return applicableAge;
    }

    public void setApplicableAge(String applicableAge) {
        this.applicableAge = applicableAge;
    }
}
